package com.wanxs.mall.product.fegin;


import com.wanxs.mall.common.dto.SkuHasStockDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@FeignClient("ware-server")
public interface WareSkuFeginService {

    @PostMapping("/ware/waresku/hasStock")
    List<SkuHasStockDto> getSkusHasStock(@RequestParam Long[] skuIds);
}
